package org.lq.shopping.entity;
import java.io.Serializable;
import java.sql.Date;
/**
 *   评价晒单表 
 * @崔晏铭 77496
 *	@date 2018年9月26日
 */
public class Shop_judge implements Serializable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8586454478593218162L;
	private int order_id ;// 订单号
	private int  user_id ; // 用户id
	private String content ; // 评价内容 
	private  String imges ;  // 晒图
	private Date  judge_date; // 评价内容  
	private String add_content; // 追评内容
	private Date add_date ;// 追评事件
	public int getOrder_id() {
		return order_id;
	}
	public void setOrder_id(int order_id) {
		this.order_id = order_id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImges() {
		return imges;
	}
	public void setImges(String imges) {
		this.imges = imges;
	}
	public Date getJudge_date() {
		return judge_date;
	}
	public void setJudge_date(Date judge_date) {
		this.judge_date = judge_date;
	}
	public String getAdd_content() {
		return add_content;
	}
	public void setAdd_content(String add_content) {
		this.add_content = add_content;
	}
	public Date getAdd_date() {
		return add_date;
	}
	public void setAdd_date(Date add_date) {
		this.add_date = add_date;
	}
	@Override
	public String toString() {
		return "Shop_judge [order_id=" + order_id + ", user_id=" + user_id + ", content=" + content + ", imges=" + imges
				+ ", judge_date=" + judge_date + ", add_content=" + add_content + ", add_date=" + add_date + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((add_content == null) ? 0 : add_content.hashCode());
		result = prime * result + ((add_date == null) ? 0 : add_date.hashCode());
		result = prime * result + ((content == null) ? 0 : content.hashCode());
		result = prime * result + ((imges == null) ? 0 : imges.hashCode());
		result = prime * result + ((judge_date == null) ? 0 : judge_date.hashCode());
		result = prime * result + order_id;
		result = prime * result + user_id;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Shop_judge other = (Shop_judge) obj;
		if (add_content == null) {
			if (other.add_content != null)
				return false;
		} else if (!add_content.equals(other.add_content))
			return false;
		if (add_date == null) {
			if (other.add_date != null)
				return false;
		} else if (!add_date.equals(other.add_date))
			return false;
		if (content == null) {
			if (other.content != null)
				return false;
		} else if (!content.equals(other.content))
			return false;
		if (imges == null) {
			if (other.imges != null)
				return false;
		} else if (!imges.equals(other.imges))
			return false;
		if (judge_date == null) {
			if (other.judge_date != null)
				return false;
		} else if (!judge_date.equals(other.judge_date))
			return false;
		if (order_id != other.order_id)
			return false;
		if (user_id != other.user_id)
			return false;
		return true;
	}
	public Shop_judge() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Shop_judge(int order_id, int user_id, String content, String imges, Date judge_date, String add_content,
			Date add_date) {
		super();
		this.order_id = order_id;
		this.user_id = user_id;
		this.content = content;
		this.imges = imges;
		this.judge_date = judge_date;
		this.add_content = add_content;
		this.add_date = add_date;
	}
	
}	
